package com.diepu.www.client.proxy.partner.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

import org.hibernate.validator.constraints.NotBlank;
/**
 * 公共属性
 * @author xiongxiaotun
 * @date 2017年3月22日 下午1:05:21
 * @since v1.0.0
 * @update
 */
@ApiModel(value="BaseInfo", description="对象公共属性")
public class BaseInfo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	@NotBlank(message="主键ID不能为空")
	@ApiModelProperty(name="id",required=true,value="主键",example="1")
	private String id;
	
	/**
	 * 排序字段
	 */
	@ApiModelProperty(name="sortValue",required=false,value="排序", example="0", hidden=true)
	private Integer sortValue;
	
	/**
	 * 备注
	 */
	@ApiModelProperty(name="remarks",required=false,value="备注",example="备注信息...")
	private String remarks;
	
	/**
	 * 备用字段1
	 */
	@ApiModelProperty(name="ccol1",required=false,value="备用字段1",example="备用字段1", hidden=true)
	private String ccol1;
	
	/**
	 * 备用字段2
	 */
	@ApiModelProperty(name="ccol2",required=false,value="备用字段2",example="备用字段2", hidden=true)
	private String ccol2;
	
	/**
	 * 备用字段3
	 */
	@ApiModelProperty(name="ccol3",required=false,value="备用字段3",example="备用字段3", hidden=true)
	private String ccol3;
	
	/**
	 * 备用字段4
	 */
	@ApiModelProperty(name="dcol1",required=false,value="备用字段4",example="1234", hidden=true)
	private BigDecimal dcol1;
	
	/**
	 * 备用字段5
	 */
	@ApiModelProperty(name="dcol2",required=false,value="备用字段5",example="1234", hidden=true)
	private BigDecimal dcol2;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getSortValue() {
		return sortValue;
	}

	public void setSortValue(Integer sortValue) {
		this.sortValue = sortValue;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getCcol1() {
		return ccol1;
	}

	public void setCcol1(String ccol1) {
		this.ccol1 = ccol1;
	}

	public String getCcol2() {
		return ccol2;
	}

	public void setCcol2(String ccol2) {
		this.ccol2 = ccol2;
	}

	public String getCcol3() {
		return ccol3;
	}

	public void setCcol3(String ccol3) {
		this.ccol3 = ccol3;
	}

	public BigDecimal getDcol1() {
		return dcol1;
	}

	public void setDcol1(BigDecimal dcol1) {
		this.dcol1 = dcol1;
	}

	public BigDecimal getDcol2() {
		return dcol2;
	}

	public void setDcol2(BigDecimal dcol2) {
		this.dcol2 = dcol2;
	}
}
